// This file was automatically generated from errors.soy.
// Please don't edit this file by hand.

goog.provide('dkpoints.errors.templates');

goog.require('soy');


/**
 * @param {Object.<string, *>=} opt_data
 * @return {string}
 * @notypecheck
 */
dkpoints.errors.templates.genericError = function(opt_data) {
  return '<div class="error_desc">' + soy.$$escapeHtml(opt_data.message) + '</div>';
};


/**
 * @param {Object.<string, *>=} opt_data
 * @return {string}
 * @notypecheck
 */
dkpoints.errors.templates.http404 = function(opt_data) {
  return '<div class="error_desc">Nothing here. Please go back.</div>';
};


/**
 * @param {Object.<string, *>=} opt_data
 * @return {string}
 * @notypecheck
 */
dkpoints.errors.templates.notAuthorized = function(opt_data) {
  return '<div class="error_desc">' + ((opt_data.requiredAuth == 1) ? (opt_data.authState == 0) ? 'You must log into a registered user account to view this page.' : dkpoints.errors.templates.notAuthorizedScrewedUp(null) : (opt_data.requiredAuth == 2) ? (opt_data.authState == 0) ? 'You must log into an administrator account to view this page.' : (opt_data.authState == 1) ? 'You are not authorized to view this page.' : dkpoints.errors.templates.notAuthorizedScrewedUp(null) : dkpoints.errors.templates.notAuthorizedScrewedUp(null)) + '</div>';
};


/**
 * @param {Object.<string, *>=} opt_data
 * @return {string}
 * @notypecheck
 */
dkpoints.errors.templates.notAuthorizedScrewedUp = function(opt_data) {
  return 'You should not be viewing this message. Please tell report this bug along with a screenshot and the URL you are trying to view. Apologies for the inconvenience.';
};


/**
 * @param {Object.<string, *>=} opt_data
 * @return {string}
 * @notypecheck
 */
dkpoints.errors.templates.notImplemented = function(opt_data) {
  return '<div class="error_desc">This feature hasn\'t been implemented yet. Please be patient.</div>';
};
